home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / wildcat / w3euti24.zip / UTI.DOC < prev    next >
Text File  |  1992-11-22  |  23KB  |  582 lines

  1. ┌───────────────────────────────────────────────┐
  2. │ WC3 Enhanced UTIs        v2.40      11-22-92  │
  3. └───────────────────────────────────────────────┘
  4.  
  5.  
  6. What They Do
  7. ------------
  8.  
  9. UTIs (Universal Text Interface) are a group of programs that allow
  10. the PC Relay and MegaMail door programs to interface with a BBS. 
  11. There are many different UTI programs available and each works with
  12. a specific BBS program.
  13.  
  14. UTI programs directly access the BBS database files and perform
  15. functions such as message imports and exports, listing available
  16. conferences and updating last-read pointers.  Thanks to the UTI
  17. standard interface, PC Relay can be used with many different BBS
  18. programs.
  19.  
  20. These UTIs are designed for use with WildCat versions 3.0x to 3.5x. 
  21. They will automatically detect which version you are using and
  22. build the message databases accordingly.
  23.  
  24.  
  25. Features
  26. --------
  27.  
  28. 1.   The UTI programs will work properly in a multi-node
  29.      environment.  These two features have been added to achieve
  30.      multi-node compatibility:
  31.  
  32.      A.   All imported messages are marked internally with a UTI
  33.           code.  This code identifies the message as coming from
  34.           the UTIs.  In multi-network situations, the code also
  35.           identifies which network the message came from.  Imported
  36.           messages will not be exported to the same network.
  37.  
  38.      B.   The UTIs keep their own high message numbers.  If a
  39.           message is entered online and the PC Relay software
  40.           misses it, the UTIs will detect it and adjust the next
  41.           export accordingly.  PC Relay and communication errors
  42.           are taken into account and will not confuse the UTI's
  43.           high message count.
  44.  
  45. 2.   Imported text files "<<*.IMP" are exported along with outgoing
  46.      messages just like regular text.  Each time an *.IMP file is
  47.      exported, a message will be logged to the UTI.LOG file.
  48.  
  49. 3.   Input and output files are processed as binary files instead
  50.      of text files.  Text files are limited in that an End-of-File
  51.      mark (ASCII 26) within a message would cause an import to end
  52.      prematurely, sometimes causing errors and often losing
  53.      messages.  When an end-of-file mark is detected in the middle
  54.      of a packet, a message will be logged to the UTI.LOG file.
  55.  
  56. 4.   Extra spaces at the end of a line are skipped during imports
  57.      and exports.  The blank lines surrounding the PC Relay
  58.      taglines often have 30-40 extraneous spaces.  By eliminating
  59.      these wasted characters, your MSGxxx.DAT files will be
  60.      approximately 5% smaller.
  61.  
  62. 5.   Using a combination of file buffers, smart file locking and
  63.      batch processing, the Enhanced WC3 UTIs are approximately 11-
  64.      200% faster than earlier WildCat UTIs.
  65.  
  66.  
  67. Other Information
  68. -----------------
  69.  
  70. 1.   "Soft errors" such as corrupted messages and unexpected data
  71.      will be logged to an error file and the message will be
  72.      skipped.  Import or export will continue with the next good
  73.      message, if any.
  74.  
  75. 2.   "Hard errors" such as missing files, full disks and too many
  76.      open files will be logged to an error file and cause the UTI
  77.      to stop.  An error code will be passed to the calling program
  78.      (PC Relay, MegaMail) which normally causes the calling program
  79.      to stop.
  80.  
  81. 3.   The mail waiting flag is set in both real name and alias
  82.      conferences.
  83.  
  84. 4.   Messages are limited to 150 lines of up to 79 characters per
  85.      line.  Lower limits may be defined using the MAKEWILD program;
  86.      If a message exceeds the conference's line limit it will be
  87.      split into two or more parts.
  88.  
  89.      Excessive taglines sometimes make a message exceed its line
  90.      limit.  To avoid unnecessary message splitting, a conference's
  91.      line limit may be exceeded by up to 10 lines if there is ample
  92.      space in the message record.  These additional lines are
  93.      supported by WildCat and will not cause any problems.
  94.  
  95. 5.   During an import, the UTIs will abide by the conference's
  96.      maximum message limit.  If the number of messages exceeds that
  97.      limit, the UTIs will delete excessive messages starting with
  98.      the lowest message number until the message limit is reached. 
  99.      Messages marked with the "No Delete" flag will not be deleted.
  100.  
  101. 6.   Pressing CTRL-C will signal the UTIs to stop processing at the
  102.      next safe opportunity.  The UTIs will stop with an errorlevel,
  103.      signalling to the calling program that it stopped abnormally.
  104.  
  105.  
  106. Setup
  107. -----
  108.  
  109. Install the parent program (PC Relay or the MegaMail Door)
  110. according to that program's instructions.  The UTI programs can be
  111. placed with the PC Relay program files, or in any directory that is
  112. listed in the path.
  113.  
  114.  
  115. DOS Environment Variables
  116. -------------------------
  117.  
  118. The UTIs can use three optional environment variables.  DOS
  119. environment variables are defined using the SET command.
  120.  
  121. WCHOME :  This variable is optional and contains the path to the
  122.           main WildCat directory.  An example is:
  123.  
  124.                SET WCHOME=C:\WC30
  125.  
  126.           If this variable is not defined, the UTIs will search the
  127.           path until the main WildCat directory is found.  If you
  128.           use the WCHOME environment variable, the UTIs will take
  129.           less time since they won't have to search for the WildCat
  130.           directory.
  131.  
  132. WCNODEID: If you are running a multi-node BBS and do not have the
  133.           MAKEWILD autonode option enabled, this variable must be
  134.           set to a unique number between 1 and 250.  See the
  135.           section on multi-node BBSs for more information.
  136.  
  137. UTINET :  With the advent of PC Relay 4.11, the UTINET variable
  138.           will no longer function as it was designed.  PCR 4.11
  139.           will not export messages with a PCR tagline, even if a
  140.           conference needs to be sent to two or more networks. 
  141.           This feature is being retained for future use.
  142.  
  143.           This variable is only important if you cross two networks
  144.           together.  If two or more PC Relay networks access the
  145.           same message conference, you need to set this variable to
  146.           a unique character for each conference.  For example:
  147.  
  148.           SET UTINET=A
  149.           SET UTINET=B
  150.  
  151.           Only one character is required, and only the first
  152.           character will be used if there is more than one.
  153.  
  154. MAXLINES: This environment variable will override the maximum message
  155.           line setting in MakeWild.  This variable affects all
  156.           conferences and works on import only (of course).  Example:
  157.  
  158.           SET MAXLINES=100
  159.  
  160.           Let's say a particular conference only allows 40 lines.
  161.           You set MakeWild to 40 lines so your callers can't leave
  162.           longer messages, but you don't want network messages split
  163.           on import.  Using this variable gives you flexibility.
  164.           (Optional)
  165.  
  166. UTILOG :  UTILOG environment variable added for trouble-shooting.
  167.           If the UTILOG environment variable is set to "Yes" (or
  168.           "on" or "full" or just about anything), then extra
  169.            information will be logged to the UTI.LOG file each time
  170.            UTIIMPRT & UTIEXPRT are run.  Example:
  171.  
  172.            SET UTILOG=YES
  173.  
  174.            To turn full logging off, type:
  175.  
  176.            SET UTILOG=
  177.  
  178.  
  179. Multi-Node BBSs
  180. ---------------
  181.  
  182. If you are running a single-line version of WildCat, the UTIs
  183. cannot be run while the BBS is up, or when any other utility is
  184. accessing the message databases.
  185.  
  186. In order to use the UTIs while the BBS is online, you must be
  187. running a multi-line WildCat version and have either DOS share or
  188. Novell defined in the Makewild program.  If the MAKEWILD autonode
  189. option is enabled, the UTIs will determine the proper node ID to
  190. use.  If you are not using the autonode feature, the environment
  191. variable WCNODEID must be set to a valid number between 1 and 250.
  192.  
  193. Use the following command:
  194.  
  195.      SET WCNODEID=3
  196.  
  197. using 3 or whichever node ID you wish to use.  This node ID must
  198. not be duplicated.  No other BBS node or program using this node ID
  199. may be running while the UTIs are accessing the message databases.
  200.  
  201.  
  202. Renumbering the Databases
  203. -------------------------
  204.  
  205. You must be careful when renumbering the databases.  Before you
  206. renumber, make sure that all messages have been exported.  The best
  207. method is to:
  208.  
  209.      1.  Take all BBS nodes down.
  210.      2.  Run the PC Relay export program.
  211.  
  212.      You may renumber your conferences now, or wait until you
  213.      import new messages.
  214.  
  215. Since the UTIs keep their own high message numbers, you must run
  216. the UTIRESET program in addition to the PC Relay RESET program. 
  217. The UTIRESET program must be run in the directory where you run
  218. your imports and exports.
  219.  
  220. If you use the UTINET environment variable, UTIRESET must be run
  221. for each UTINET network.
  222.  
  223.  
  224. Error Log File
  225. --------------
  226.  
  227. The UTIs will record error messages to the file UTI.LOG in the
  228. current directory.  Other events will also be logged, including:
  229.  
  230.      1.   Messages split into two or more parts.
  231.      2.   Messages skipped due to errors.
  232.      3.   *.IMP text files exported as part of a message.
  233.      4.   New, non-exported messages detected during an import.
  234.      5.   End-of-file marks detected in the middle of an import
  235.           packet.  This is only for informational purposes; EOF
  236.           marks have no effect on the enhanced UTIs.
  237.  
  238.  
  239. Program Descriptions
  240. --------------------
  241. The input and output files are standard text files and follow the
  242. UTI v2.1 specifications.  The UTI format is designed and controlled
  243. by Kip Compton; requests for additional UTI format information
  244. should be addressed to him.
  245.  
  246.  
  247. UTIEXPRT
  248.  
  249. Exports messages from the specified conference starting with the
  250. message number in parameter #2.  At this time, WildCat does not
  251. have a no-echo option, so all messages will be exported.
  252.  
  253. The exception is when the /NETWORK parameter is specified.  When in
  254. Network mode, messages that were imported from the same network ID
  255. will not be exported.  The UTINET environment variable can be used
  256. to change network Ids, or the default ID "0" will be used.
  257.  
  258. Network mode also enables the multi-node features.  UTIEXPRT keeps
  259. track of its own high message numbers in the UTINETx.DAT file,
  260. where "x" is the UTINET environment variable.  These separate high
  261. message numbers ensure that all appropriate messages will be
  262. exported to the network.
  263.  
  264.      Parameter 1 -  Conference number.
  265.      Parameter 2 -  First message number to export.
  266.      Parameter 3 -  Full path and file name of the output file.
  267.      Parameter 4 -  /NETWORK (optional)
  268.  
  269.  
  270. UTIIMPRT
  271.  
  272. Imports new messages from the input file into the specified
  273. conference.  In Network mode, it internally marks each message with
  274. a network code which will prevent the message from being exported
  275. to the same network.
  276.  
  277. PC Relay pre-assigns each message a number before calling the
  278. UTIIMPRT program.  Unless PC Relay is told otherwise, it assumes
  279. that these message numbers will stay the same when imported into
  280. the message conference.  If the first message number in the input
  281. file is different than the message number used on the BBS, then the
  282. difference is written to the adjustment file (parameter 3).
  283.  
  284. PC Relay uses the adjustment file to keep its reference numbers
  285. accurate, however the numbers may not be accurate when:
  286.  
  287.      1.   New messages are added to the BBS while an import is in
  288.           progress.
  289.      2.   Invalid or corrupted messages are skipped.
  290.      3.   Long messages are split into two or more parts.
  291.  
  292.  
  293. The UTIs can tell PC Relay to adjust all the reference numbers in
  294. an import, but there is no way to change just a few of them.
  295. WildCat limits messages to a maximum of 12000 bytes.  The internal
  296. WC editors are more restrictive:  When used to create a message,
  297. the limit is 150 lines of 72 characters each, however, the editors
  298. will allow you to safely edit an existing message of up to 164
  299. lines of 72 characters each.  This allows full sized messages (150
  300. lines from the source BBS) to be imported even after many taglines
  301. have been added. 
  302.  
  303.      Parameter 1 -  Conference number.
  304.      Parameter 2 -  Full path and file name of the input file.
  305.      Parameter 3 -  Full path and file name of the message number
  306.                     adjustment file.  (Optional)
  307.      Parameter 3 -  /NETWORK  (Optional)
  308.           or   4
  309.  
  310.  
  311. UTIHIGH
  312.  
  313. Reads the conference status record and writes the high message
  314. number to the output file.
  315.  
  316.      Parameter 1 -  Conference number.
  317.      Parameter 2 -  Full path and file name of the output file.
  318.  
  319.  
  320. UTILIST
  321.  
  322. Creates a list of available conferences with their descriptions. 
  323. This list is used in the PC Relay CONFIG program and in the
  324. MegaMail door.
  325.  
  326.      Parameter 1 -  Full path and file name of the output file.
  327.  
  328.  
  329. UTIVER
  330.  
  331. Writes the UTI version number to the output file.  A second line
  332. identifies the UTI author and/or program name.
  333.  
  334.      Parameter 1 -  Full path and file name of the output file.
  335.  
  336.  
  337. UTILSTRD  (MegaMail only)
  338.  
  339. Depending on the first parameter, this program will either READ the
  340. specified user's last read message numbers or WRITE (update) the
  341. last read message numbers.  Output from this program will be
  342. matched against output from UTILIST to determine which conferences
  343. the user may access and his/her last read pointer.
  344.  
  345.      Parameter 1 -  READ or WRITE
  346.      Parameter 2 -  Full path and file name of the input or output
  347.                     file.
  348.      Parameter 3 -  The user's first, middle, last name, etc.
  349.  
  350. UTIDOOR   (MegaMail only)
  351.  
  352. Creates a small door information file for use by the MegaMail door. 
  353. This program reads the DOOR.SYS file and creates the output file,
  354. which should be UTIDOOR.TXT.
  355.  
  356.      Parameter 1 -  Full path and file name of the output file.
  357.  
  358.  
  359. UTIRFLAG  (MegaMail only)
  360.  
  361. Clears a user's mail-waiting flag for a specified range of
  362. messages.  After a user downloads messages using the MegaMail door,
  363. this program is called to clear the mail-waiting flags.
  364.  
  365.      Parameter 1 -  Conference number.
  366.      Parameter 2 -  Starting message number.
  367.      Parameter 3 -  Ending message number.
  368.      Parameter 4 -  The user's first, middle, last name, etc.
  369.  
  370.  
  371. UTIRESET
  372.  
  373. This program is unique to the Enhanced UTIs; it resets the high
  374. message numbers in the UTINETx.DAT file.  This should be run when
  375. the message conferences are renumbered and whenever the PC Relay
  376. "RESET" program is run.
  377.  
  378.  
  379. Registration
  380. ------------
  381.  
  382. The Enhanced WC3 UTI programs are distributed as shareware. 
  383. Shareware software allows you to try before you buy, thus you never
  384. need to pay for a shareware program that does not meet your needs.
  385.  
  386. You may use these UTIs for 30 days at no charge, allowing you a
  387. chance to see if they meet your needs.  If you keep using them
  388. after 30 days, you must register the software by sending in the
  389. registration form and paying the registration fee of $20 (US). 
  390. Registered DupMsg users are entitled to a $5 discount.
  391.  
  392. Registration entitles the purchaser to use the UTIs on one BBS
  393. system.  A BBS system is defined as either a single computer
  394. system, or a network system where multiple computers are connected
  395. by direct cable to the same network server.
  396.  
  397. Even after you register these UTIs, your satisfaction is
  398. guaranteed.  If within 30 days after registering you decide that
  399. you no longer wish to use the programs, simply write a letter to
  400. the author requesting a refund and your registration fee will be
  401. refunded.  Only the registration fee will be refunded, not the cost
  402. of diskettes that may have been ordered.
  403.  
  404. Support
  405. -------
  406.  
  407. The author can be reached via the WildNet, FidoNet and MSInet mail
  408. networks.  Please address messages to Jim Metzler.
  409.  
  410. Registration fees and requests for additional information should be
  411. addressed to:
  412.  
  413.      Jim Metzler
  414.      WPI Box 188
  415.      100 Institute Road
  416.      Worcester, MA 01609
  417.  
  418.      Voice: (508) 799-7540
  419.      BBS:   (508) 754-6512
  420.  
  421.  
  422. Distribution 
  423. ------------
  424. Several WildNet Sysops have agreed to post DupMsg, the Enhanced
  425. UTIs and Censor in their original ARJ archive with Security
  426. Envelope.  Thanks go to these Sysops and the many others who
  427. have supported these programs.
  428.  
  429.  
  430. The original archive may be downloaded from the following BBSs:
  431.  
  432. Miwok Village        --  Worcester, MA         --  (508) 754-6512
  433. MSI HQ BBS           --  Bakersfield, CA       --  (805) 395-0250
  434.  
  435. B-Line BBS           --  Muncie, IN            --  (317) 288-5569
  436. Bun's BBS            --  San Francisco, CA     --  (415) 756-5098
  437. Lost BBS             --  Overland Park, KS     --  (913) 642-0349
  438. NoHo BBS             --  Hesperia, CA          --  (619) 949-4025
  439. Programmer's Forum   --  Fountain Inn, SC      --  (803) 862-4616
  440.  
  441. Data Base Forum      --  Oslo, Norway          --  +47-2-295626
  442. Gil's PC             --  Chapeau, Quebec       --  (819) 689-5465
  443.  
  444.  
  445. DupMsg and the Enhanced UTIs can be F'Reqed from:
  446.  
  447.      Programmer's Forum --  HST Dual Std.      --  (1:3639/2)
  448.      Lost BBS           --  Compucom, V.32     --  (1:280/319)
  449.      B-Line BBS         --  HST Dual Std.      --  (1:231/440)
  450.  
  451. The request names are 'DUPMSG' and 'UTI'.
  452.  
  453.  
  454. You are authorized to distribute the Enhanced UTIs provided the
  455. executable programs, documentation, and registration form are
  456. included in their original, unmodified state.  No fee may be
  457. charged for the distribution of DupMsg without the express
  458. written permission of the author.
  459.  
  460.  
  461. Warranty Disclosure
  462. -------------------
  463.  
  464. Normally, software distributed through bulletin boards systems or
  465. shared from one user to another does not carry a warranty, mainly
  466. because the author does not have control over the product and the
  467. program can be modified either intentionally or accidentally
  468. without the author's knowledge.
  469.  
  470. Recognizing this, these UTI programs carry either no warranty or a
  471. limited warranty depending on the distribution method.
  472.  
  473. LIMITED WARRANTY:
  474.  
  475.      This applies only when the program is received directly from
  476.      the author on diskette, or when it is received in the original
  477.      ARJ archive, complete with a valid Security Envelope.  The ARJ
  478.      Security Envelope must read "ARJ archive created by James W.
  479.      Metzler R#0301".  The user must keep the diskette or original
  480.      ARJ archive as proof of this warranty.
  481.  
  482.    - What is covered:  The UTIs program will perform substantially
  483.      as described in this document.  In addition, while the program
  484.      may contain minor bugs or errors, it is warranted to be free
  485.      of major defects for a period of six months.  Diskettes
  486.      received from the author are guaranteed to be free or defects
  487.      for a period of six months from date of receipt.
  488.  
  489.    - What is not covered:  The author will not be liable for
  490.      incidental and/or consequential damages, including injury to
  491.      property, interruption of service, loss of business and/or
  492.      anticipated profits, or other consequential damages that may
  493.      result from use, malfunction or failure of the programs, or
  494.      from errors or omissions in the documentation.  Some states do
  495.      not allow the exclusion or limitation of incidental or
  496.      consequential damages, so the above limitation may not apply
  497.      to you.
  498.  
  499.      Any attempt to modify the UTI programs will void this warranty
  500.      in its entirety.
  501.  
  502.    - If there is a problem:  Within 60 days of notification that a
  503.      major defect exists, the author, at his discretion, will
  504.      either fix the program and forward the replacement at no cost
  505.      to the registered user, or will refund the registration fee.
  506.  
  507.      Defective diskettes will be replaced within 60 days at no cost
  508.      to the purchaser.
  509.  
  510.    - How to get service:  Send a written letter to the author
  511.      detailing the type of problem and symptoms experienced. 
  512.      Include your name, address, voice phone number and
  513.      registration number and any additional information that you
  514.      believe may be useful, such as any TSRs and disk cache
  515.      programs in use.
  516.  
  517.      The author may contact you by voice or written letter for more
  518.      information to help in tracking down the problem.
  519.  
  520.  
  521. NO WARRANTY:
  522.  
  523.      If you did not receive the UTI programs directly from the
  524.      author, or in its original ARJ archive with a genuine Security
  525.      Envelope (see above), then there is a possibility that the
  526.      programs and/or documentation have been modified, or that the
  527.      program is not the author's work.  The author makes no
  528.      warranty of any kind, express or implied, including any
  529.      warranties of fitness and/or merchantability if the program
  530.      was received from other sources.
  531.  
  532.      The author will not be liable for any damages, whether direct,
  533.      indirect, special or consequential arising from a failure of
  534.      this program to operate in the manner desired by the user. 
  535.      The author will not be liable for any damage to data or
  536.      property which may be caused directly or indirectly by use of
  537.      the program.
  538.  
  539. When trying new software, always backup any and all important files
  540. on your system.
  541.  
  542.  
  543. Special Thanks
  544. --------------
  545.  
  546. Special thanks to Peter Anderson, Ralph Maya, Ryan Cramer, Bob
  547. Allman, Bill Anton and Mike Callaghan for their help ßeta testing
  548. these programs.  Their assistance has been invaluable in the
  549. development of these programs.
  550.  
  551.  
  552. Copyright
  553. ---------
  554.  
  555. These UTI programs are:
  556. Copyright (c) 1992, James W. Metzler, All Rights Reserved.
  557.  
  558.  
  559. About the Author
  560. ----------------
  561.  
  562. Jim Metzler grew up on the IBM side of Silicon Valley, within
  563. blocks of the Santa Teresa IBM plant.  Jim is an Eagle Scout and
  564. Vigil member of the Order of the Arrow; one of his first computer
  565. projects was computerizing the membership records for the Santa
  566. Clara County OA Lodge (Miwok 439) in the early 1980's.
  567.  
  568. After attending college part-time, Jim joined the Navy as a Data
  569. Processing Technician and spent 3 years in and around Japan,
  570. stationed onboard the USS Blue Ridge (LCC-19), Seventh Fleet
  571. Flagship.  Jim operated, then later managed two Wang mini-computers
  572. that served Seventh Fleet staff and was responsible for the Ship's
  573. ADP Security program.  For the last two years, Jim served at the
  574. White House Communications Agency in Washington, DC, providing
  575. computer support to the President and his staff both in town and on
  576. the road.
  577.  
  578. Just recently out of the Navy, Jim is continuing his college
  579. studies at Worcester Polytechnic Institute in Worcester, MA.
  580.  
  581. -----------------------------------------------------------------
  582.